home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / edm0407s.zip / STAT3SRC.ZIP / USERMSGH.CPP < prev    next >
C/C++ Source or Header  |  1996-07-08  |  564b  |  18 lines

  1. #include "usermsgh.hpp"
  2.  
  3. /**************************************************************/
  4. /* Dispatch command functions for this handler.               */
  5. /**************************************************************/
  6. Boolean AUserMessageHandler :: dispatchHandlerEvent (IEvent&  evt)
  7. {
  8.   switch(evt.eventId())
  9.          {
  10.           case MYM_OPENFILE_READY:
  11.                return (openFileReady (evt));
  12.           case MYM_SAVEFILE_READY:
  13.                return (saveFileReady (evt));
  14.           default:
  15.                return (false);
  16.          }
  17. }
  18.